<header>
	<div class="container search">
		<form action="search.html">
			<input name="word" type="text" placeholder="这里输入关键词"/>
			<input type="submit" value="搜索"/>
			<@_noCache>
				<#if user?has_content>
					<span>${user.nickName}</span>
					<span><a href="logout.do">注销</a></span>
				<#else>
					<span><a href="login.html">登陆</a></span>
				</#if>
			</@_noCache>
		</form>
	</div>
	<div class="container">
		<div class="logo">
			<a href="./"><img src="${getUploadPath()}image/logo.png"/></a>
			<a href="http://shang.qq.com/wpa/qunwpa?idkey=8a633f84fb2475068182d3c447319977faca6a14dc3acf8017a160d65962a175"><img src="http://pub.idqqimg.com/wpa/images/group.png" alt="Public CMS" title="Public CMS"></a>
		</div>
		<nav>
			<ul>
				<li><a href="./">首页</a></li>
<@_categoryList>
	<#list page.list as a>
				<li>
					<a href="category.html?id=${a.id}">${a.name}</a>
		<#if a.childIds?has_content>
					<ul>
			<@_categoryList parentId=a.id>
				<#list page.list as a>
						<li><a href="list.html?id=${a.id}">${a.name}</a></li>
				</#list>
			</@_categoryList>
					</ul>
		</#if>
				</li>
	</#list>
</@_categoryList>
				<li><a href="${getSitePath()}" target="_blank">静态站点</a></li>
				<li><a href="interface.html">接口测试</a></li>
				<li><a href="admin/">管理后台</a></li>
			</ul>
		</nav>
	</div>
</header>